package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

/**
 * @Author: liuyun
 * Created by liuyun  9:23 2017/11/24.
 */

public class MenuVo implements IPrepare {

    private Long id;

    private String name;

    private String url;

    private Long  fatherTypeId;

    private int menuGrade;

    private String image;

    private List<MenuVo> childMenus;

    private String coding;

    public List<MenuVo> getChildMenus() {
        return childMenus;
    }

    public void setChildMenus(List<MenuVo> childMenus) {
        this.childMenus = childMenus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getFatherTypeId() {
        return fatherTypeId;
    }

    public void setFatherTypeId(Long fatherTypeId) {
        this.fatherTypeId = fatherTypeId;
    }

    public int getMenuGrade() {
        return menuGrade;
    }

    public void setMenuGrade(int menuGrade) {
        this.menuGrade = menuGrade;
    }

    public String getImage() { return image; }

    public void setImage(String image) { this.image = image; }

    public String getCoding() {
        return coding;
    }

    public void setCoding(String coding) {
        this.coding = coding;
    }
}
